package giftmail.service;

import java.util.List;

import giftmail.model.User;
import giftmail.util.Page;

public interface IUserService {

	//查看User表List
    public List<User> findUser();
    
    //查看User表List分页
    public List<User> findUserListByPage(User user,Page page);
    
    //根据id查询用户
    //同时:插入redis
    public User getById(int id);
    
    //用户更新
    //同时:删除redis
    public void update(User user);
}
